home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000004_icon-group-sender _Wed Sep 9 16:57:41 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id QAA04236
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Wed, 9 Sep 1998 16:57:40 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA30205; Wed, 9 Sep 1998 16:57:14 -0700
Date: Thu, 10 Sep 1998 12:00:33 +1200 (NZST)
From: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
Message-Id: <199809100000.MAA30388@atlas.otago.ac.nz>
To: davidf@mks.com, icon-group@optima.CS.Arizona.EDU
Subject: Re: Ansi C version of Icon
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
espie@liafa.jussieu.fr (Marc Espie) writes:
> If you want STRICT ansi C, you're asking for trouble, as malloc() is
> limited to 64K thanks to brain-dead architectures.
As I suspected, the C standard
places no limits on the amount of memory that one can request
via malloc(). Well, the size has to fit into a size_t
You weren't looking in the right place. The C standard only guarantees
that at least one program can have at least one object that is up to
32767 bytes in size. Conforming C implementations are NOT required to
support objects any bigger than 32767 bytes *however* allocated.
Conforming C implementations are also allowed to support objects bigger
than 4GB if they want to, but conforming *programs* can't rely on that.